<%
	String username = request.getParameter("user");
	String password = request.getParameter("password");
	out.println("Checking login<br>");
	if (username == null || password == null) {

    out.print("Invalid paramters ");
	}
	if (username == "admin" || password == "admin") {
    out.println("Welcome " + username + " <a href=\"index.html\">Back to main</a>");
	}
%>